package com.ruoyi.system.domain;

import java.util.Date;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 采购单位对象 sys_purchasingunit
 * 
 * @author ruoyi
 * @date 2020-12-13
 */
public class SysPurchasingunit extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 采购单位ID */
    private Long purchasingUnitId;

    /** 采购单位名称 */
    @Excel(name = "采购单位名称")
    private String unitName;

    /** 单位法人或负责人 */
    @Excel(name = "单位法人或负责人")
    private String unitManager;

    /** 法人手机号 */
    @Excel(name = "法人手机号")
    private String unitManagerPhone;

    /** 单位电话 */
    @Excel(name = "单位电话")
    private String unitTel;

    /** 单位联系人 */
    @Excel(name = "单位联系人")
    private String unitLink;

    /** 单位联系人手机号 */
    @Excel(name = "单位联系人手机号")
    private String unitLinkPhone;

    /** 单位地址 */
    @Excel(name = "单位地址")
    private String unitAddress;

    /** 单位账号 */
    @Excel(name = "单位账号")
    private String account;

    /** 密码 */
    @Excel(name = "密码")
    private String password;

    /** 扩展字段1 */
    @Excel(name = "扩展字段1")
    private String attribute1;

    /** 最后登录IP */
    @Excel(name = "最后登录IP")
    private String loginIp;

    /** 密码最后更新时间 */
    @Excel(name = "密码最后更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date pwdUpdateDate;

    /** 最后登录时间 */
    @Excel(name = "最后登录时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date loginDate;
    /** 盐加密 */
    private String salt;

    /** 开户行名称 */
    @Excel(name = "开户行名称")
    private String blankName;

    /** 开户行账号 */
    @Excel(name = "开户行账号")
    private String blankAccount;

    public String getBlankAccount() {
        return blankAccount;
    }

    public void setBlankAccount(String blankAccount) {
        this.blankAccount = blankAccount;
    }

    public String getBlankName() {
        return blankName;
    }

    public void setBlankName(String blankName) {
        this.blankName = blankName;
    }

    public String getSalt()
    {
        return salt;
    }

    public void setSalt(String salt)
    {
        this.salt = salt;
    }
    public void setPurchasingUnitId(Long purchasingUnitId) 
    {
        this.purchasingUnitId = purchasingUnitId;
    }

    public Long getPurchasingUnitId() 
    {
        return purchasingUnitId;
    }
    public void setUnitName(String unitName) 
    {
        this.unitName = unitName;
    }

    public String getUnitName() 
    {
        return unitName;
    }
    public void setUnitManager(String unitManager) 
    {
        this.unitManager = unitManager;
    }

    public String getUnitManager() 
    {
        return unitManager;
    }
    public void setUnitManagerPhone(String unitManagerPhone) 
    {
        this.unitManagerPhone = unitManagerPhone;
    }

    public String getUnitManagerPhone() 
    {
        return unitManagerPhone;
    }
    public void setUnitTel(String unitTel) 
    {
        this.unitTel = unitTel;
    }

    public String getUnitTel() 
    {
        return unitTel;
    }
    public void setUnitLink(String unitLink) 
    {
        this.unitLink = unitLink;
    }

    public String getUnitLink() 
    {
        return unitLink;
    }
    public void setUnitLinkPhone(String unitLinkPhone) 
    {
        this.unitLinkPhone = unitLinkPhone;
    }

    public String getUnitLinkPhone() 
    {
        return unitLinkPhone;
    }
    public void setUnitAddress(String unitAddress) 
    {
        this.unitAddress = unitAddress;
    }

    public String getUnitAddress() 
    {
        return unitAddress;
    }
    public void setAccount(String account) 
    {
        this.account = account;
    }

    public String getAccount() 
    {
        return account;
    }
    public void setPassword(String password) 
    {
        this.password = password;
    }

    public String getPassword() 
    {
        return password;
    }
    public void setAttribute1(String attribute1) 
    {
        this.attribute1 = attribute1;
    }

    public String getAttribute1() 
    {
        return attribute1;
    }
    public void setLoginIp(String loginIp) 
    {
        this.loginIp = loginIp;
    }

    public String getLoginIp() 
    {
        return loginIp;
    }
    public void setPwdUpdateDate(Date pwdUpdateDate) 
    {
        this.pwdUpdateDate = pwdUpdateDate;
    }

    public Date getPwdUpdateDate() 
    {
        return pwdUpdateDate;
    }
    public void setLoginDate(Date loginDate) 
    {
        this.loginDate = loginDate;
    }

    public Date getLoginDate() 
    {
        return loginDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("purchasingUnitId", getPurchasingUnitId())
            .append("unitName", getUnitName())
            .append("unitManager", getUnitManager())
            .append("unitManagerPhone", getUnitManagerPhone())
            .append("unitTel", getUnitTel())
            .append("unitLink", getUnitLink())
            .append("unitLinkPhone", getUnitLinkPhone())
            .append("unitAddress", getUnitAddress())
            .append("account", getAccount())
            .append("password", getPassword())
            .append("createTime", getCreateTime())
            .append("attribute1", getAttribute1())
            .append("loginIp", getLoginIp())
            .append("pwdUpdateDate", getPwdUpdateDate())
            .append("loginDate", getLoginDate())
                .append("salt", getSalt())
                .append("createBy", getCreateBy())
            .toString();
    }
}
